<template>
  <div class="chart-container">
    <div class="chart-title">
      <i>{{ icon }}</i> {{ title }}
    </div>
    <div class="chart-wrapper">
      <canvas ref="chartCanvas"></canvas>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    title: String,
    icon: String
  },
  methods: {
    getCanvas() {
      return this.$refs.chartCanvas;
    }
  }
};
</script>


<style scoped>
@import "@/assets/css/analysis..css";
</style>